Skip to content

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

public IDisposable Subscribe(IObserver<IEnumerable<T>> observer)

View source (opens in a new tab)

Summary: Subscribes the specified observer to the CurrentItems.

Parameters

NameTypeDescription
observerIObserver> (opens in a new tab)The observer.

Returns: IDisposable (opens in a new tab) -- An IDisposable to release the subscription.

Remarks

Subscribing to a disposed list completes the observer immediately.